﻿@model List<PessMvc.Models.ExpertJudgeModel>

@{
    var grid = new WebGrid(Model);
}
@grid.GetHtml(columns:grid.Columns(
grid.Column("SerialNumber",header:"评委编号"),
grid.Column("RealName",header:"真实姓名"),
grid.Column("Gender",header:"性别",format:@<text>@Utility.TranslateGender(item.Gender)</text>),
grid.Column("Birthdate",header:"出生年月"),
grid.Column("Phone",header:"电话"),    
grid.Column("ExpertGroupCallsign",header:"评委组"),
grid.Column("ExpertGroupID",header:"ID"),
grid.Column(format: (item) => Html.ActionLink("编辑", "Edit","ExpertJudge", new { SerialNumber=item.SerialNumber,returnUrl= HttpContext.Current.Request.RawUrl},null)),
grid.Column(format: (item) => Html.ActionLink("删除", "Delete","ExpertJudge", new { SerialNumber=item.SerialNumber,returnUrl= HttpContext.Current.Request.RawUrl},null))
))